package com.qf.pojo;

/**
 * @author mkr
 * @version V1.0
 * @Project java2203-mkr
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/5/27 20:20
 */
public class User {
    int uid;
    String username;
    String password;
    String status;
    int role;
    String code;

    public User() {
    }

    public User(int uid, String username, String password, String status, int role, String code) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.status = status;
        this.role = role;
        this.code = code;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", status='" + status + '\'' +
                ", role=" + role +
                ", code='" + code + '\'' +
                '}';
    }
}
